home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-03-18 | 6.3 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Mon Mar 17 20:06:44 1997, modified Mon Mar 17 20:06:44 1997, creator 'CWIE', type ASCII, 5725 bytes "ooftst28.cpp" , at 0x16dd 410 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 6f 6f 66 74 73 74 | 32 38 2e 63 70 70 00 00 |..ooftst|28.cpp..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 16 5d 00 | 00 01 9a af 53 9b 24 af |......].|....S.$.|
|00000060| 53 9b 24 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |S.$.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8e 17 00 00 |........|........|
|00000080| 2f 2f 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 |// Copyr|ight 199|
|00000090| 36 20 41 2e 44 2e 20 53 | 6f 66 74 77 61 72 65 2e |6 A.D. S|oftware.|
|000000a0| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|000000b0| 72 76 65 64 0d 0d 2f 2f | 20 4f 4f 46 54 45 53 54 |rved..//| OOFTEST|
|000000c0| 32 38 0d 0d 2f 2f 20 54 | 68 69 73 20 73 61 6d 70 |28..// T|his samp|
|000000d0| 6c 65 20 74 65 73 74 73 | 20 74 68 65 20 6b 65 79 |le tests| the key|
|000000e0| 77 6f 72 64 20 69 6e 64 | 65 78 69 6e 67 2e 0d 2f |word ind|exing../|
|000000f0| 2f 20 73 65 65 20 61 6c | 73 6f 20 6f 6f 66 74 73 |/ see al|so oofts|
|00000100| 74 32 37 20 66 6f 72 20 | 61 20 73 69 6d 70 6c 65 |t27 for |a simple|
|00000110| 20 74 65 73 74 20 6f 66 | 20 74 68 65 20 77 6f 72 | test of| the wor|
|00000120| 64 20 70 61 72 73 65 72 | 2e 0d 0d 2f 2f 20 53 69 |d parser|...// Si|
|00000130| 6d 70 6c 65 20 73 74 72 | 65 61 6d 20 49 2f 4f 20 |mple str|eam I/O |
|00000140| 69 73 20 75 73 65 64 20 | 74 6f 20 69 6e 74 65 72 |is used |to inter|
|00000150| 61 63 74 20 77 69 74 68 | 20 74 68 65 20 75 73 65 |act with| the use|
|00000160| 72 2e 0d 0d 23 69 6e 63 | 6c 75 64 65 20 22 6f 6f |r...#inc|lude "oo|
|00000170| 66 69 6c 65 2e 68 22 0d | 23 69 6e 63 6c 75 64 65 |file.h".|#include|
|00000180| 20 22 6f 6f 66 74 73 74 | 30 31 2e 68 22 0d 0d 0d | "ooftst|01.h"...|
|00000190| 69 6e 74 20 6d 61 69 6e | 28 29 0d 7b 0d 09 63 6f |int main|().{..co|
|000001a0| 75 74 20 3c 3c 20 22 4f | 4f 46 49 4c 45 20 56 61 |ut << "O|OFILE Va|
|000001b0| 6c 69 64 61 74 69 6f 6e | 20 53 75 69 74 65 20 2d |lidation| Suite -|
|000001c0| 20 54 65 73 74 20 32 38 | 5c 6e 22 0d 09 09 20 3c | Test 28|\n"... <|
|000001d0| 3c 20 22 55 73 65 20 6b | 65 79 77 6f 72 64 20 69 |< "Use k|eyword i|
|000001e0| 6e 64 65 78 69 6e 67 20 | 74 6f 20 72 65 74 72 69 |ndexing |to retri|
|000001f0| 65 76 65 20 62 79 20 77 | 6f 72 64 73 20 77 69 74 |eve by w|ords wit|
|00000200| 68 69 6e 20 66 69 65 6c | 64 73 2e 22 20 3c 3c 20 |hin fiel|ds." << |
|00000210| 65 6e 64 6c 3b 0d 0d 09 | 64 62 43 6f 6e 6e 65 63 |endl;...|dbConnec|
|00000220| 74 5f 63 74 72 65 65 20 | 20 20 20 74 68 65 44 42 |t_ctree | theDB|
|00000230| 3b 0d 09 64 62 50 65 6f | 70 6c 65 20 20 20 20 20 |;..dbPeo|ple |
|00000240| 50 65 6f 70 6c 65 3b 0d | 0d 09 74 68 65 44 42 2e |People;.|..theDB.|
|00000250| 75 73 65 53 65 70 61 72 | 61 74 65 46 69 6c 65 73 |useSepar|ateFiles|
|00000260| 28 29 3b 09 0d 09 74 68 | 65 44 42 2e 75 73 65 45 |();...th|eDB.useE|
|00000270| 78 63 6c 75 73 69 76 65 | 41 63 63 65 73 73 28 29 |xclusive|Access()|
|00000280| 3b 09 2f 2f 20 66 6f 72 | 63 65 20 74 68 69 73 20 |;.// for|ce this |
|00000290| 64 65 73 70 69 74 65 20 | 66 69 6c 65 73 68 61 72 |despite |fileshar|
|000002a0| 69 6e 67 20 6c 69 62 72 | 61 72 79 20 28 46 50 55 |ing libr|ary (FPU|
|000002b0| 54 46 47 45 54 20 6f 70 | 74 69 6f 6e 29 0d 09 09 |TFGET op|tion)...|
|000002c0| 09 09 09 09 09 09 2f 2f | 20 73 6f 20 77 65 20 63 |......//| so we c|
|000002d0| 61 6e 20 72 65 62 75 69 | 6c 64 20 74 68 65 20 69 |an rebui|ld the i|
|000002e0| 6e 64 65 78 65 73 0d 09 | 09 09 09 09 09 09 0d 2f |ndexes..|......./|
|000002f0| 2f 20 74 68 69 73 20 74 | 65 73 74 20 63 72 65 61 |/ this t|est crea|
|00000300| 74 65 73 20 50 65 6f 70 | 6c 65 2e 64 61 74 2c 20 |tes Peop|le.dat, |
|00000310| 50 65 6f 70 6c 65 2e 69 | 64 78 20 26 20 42 6c 6f |People.i|dx & Blo|
|00000320| 62 73 0d 2f 2f 20 69 6e | 20 74 68 65 20 73 61 6d |bs.// in| the sam|
|00000330| 65 20 64 69 72 65 63 74 | 6f 72 79 0d 0d 09 23 64 |e direct|ory...#d|
|00000340| 65 66 69 6e 65 20 6b 45 | 78 69 73 74 73 4e 61 6d |efine kE|xistsNam|
|00000350| 65 20 22 3a 74 65 73 74 | 32 38 3a 50 65 6f 70 6c |e ":test|28:Peopl|
|00000360| 65 2e 64 61 74 22 0d 09 | 23 64 65 66 69 6e 65 20 |e.dat"..|#define |
|00000370| 6b 44 61 74 61 62 61 73 | 65 4e 61 6d 65 20 22 3a |kDatabas|eName ":|
|00000380| 74 65 73 74 32 38 22 0d | 0d 09 2f 2f 20 2a 2a 2a |test28".|..// ***|
|00000390| 2a 2a 2a 20 61 74 74 61 | 63 68 20 61 20 6b 65 79 |*** atta|ch a key|
|000003a0| 77 6f 72 64 20 69 6e 64 | 65 78 20 74 6f 20 61 20 |word ind|ex to a |
|000003b0| 63 6f 75 70 6c 65 20 6f | 66 20 66 69 65 6c 64 73 |couple o|f fields|
|000003c0| 0d 09 2f 2f 20 42 45 46 | 4f 52 45 20 74 68 65 20 |..// BEF|ORE the |
|000003d0| 6f 70 65 6e 43 6f 6e 6e | 65 63 74 69 6f 6e 20 6f |openConn|ection o|
|000003e0| 72 20 6e 65 77 43 6f 6e | 6e 65 63 74 69 6f 6e 20 |r newCon|nection |
|000003f0| 2d 20 69 74 27 73 20 70 | 61 72 74 20 6f 66 20 74 |- it's p|art of t|
|00000400| 68 65 20 66 69 65 6c 64 | 20 64 65 63 6c 61 72 61 |he field| declara|
|00000410| 74 69 6f 6e 0d 09 0d 09 | 2f 2f 20 54 68 65 20 6b |tion....|// The k|
|00000420| 65 79 77 6f 72 64 20 69 | 6e 64 65 78 20 63 61 6e |eyword i|ndex can|
|00000430| 20 61 6c 73 6f 20 62 65 | 20 73 65 61 72 63 68 65 | also be| searche|
|00000440| 64 20 61 73 20 61 20 74 | 61 62 6c 65 2d 6c 65 76 |d as a t|able-lev|
|00000450| 65 6c 20 69 6e 64 65 78 | 2c 20 73 65 61 72 63 68 |el index|, search|
|00000460| 69 6e 67 20 66 6f 72 0d | 09 2f 2f 20 77 6f 72 64 |ing for.|.// word|
|00000470| 73 20 72 65 67 61 72 64 | 6c 65 73 73 20 6f 66 20 |s regard|less of |
|00000480| 77 68 69 63 68 20 66 69 | 65 6c 64 20 74 68 65 79 |which fi|eld they|
|00000490| 20 63 6f 6d 65 20 66 72 | 6f 6d 0d 09 09 50 65 6f | come fr|om...Peo|
|000004a0| 70 6c 65 2e 4c 61 73 74 | 4e 61 6d 65 2e 69 6e 64 |ple.Last|Name.ind|
|000004b0| 65 78 57 6f 72 64 73 28 | 29 3b 0d 09 09 50 65 6f |exWords(|);...Peo|
|000004c0| 70 6c 65 2e 44 65 73 63 | 72 69 70 74 69 6f 6e 2e |ple.Desc|ription.|
|000004d0| 69 6e 64 65 78 57 6f 72 | 64 73 28 29 3b 0d 0d 09 |indexWor|ds();...|
|000004e0| 2f 2f 20 4e 4f 54 45 3a | 20 77 65 20 61 72 65 20 |// NOTE:| we are |
|000004f0| 75 73 69 6e 67 20 74 68 | 65 20 64 65 66 61 75 6c |using th|e defaul|
|00000500| 74 20 77 6f 72 64 20 70 | 61 72 73 65 72 20 68 65 |t word p|arser he|
|00000510| 72 65 2e 20 59 6f 75 20 | 63 6f 75 6c 64 20 61 6c |re. You |could al|
|00000520| 73 6f 20 70 61 73 73 0d | 09 2f 2f 20 79 6f 75 72 |so pass.|.// your|
|00000530| 20 6f 77 6e 20 73 70 65 | 63 69 61 6c 69 73 65 64 | own spe|cialised|
|00000540| 20 70 61 72 73 65 72 20 | 69 6e 20 61 73 20 61 20 | parser |in as a |
|00000550| 70 61 72 61 6d 65 74 65 | 72 20 74 6f 20 74 68 65 |paramete|r to the|
|00000560| 20 61 62 6f 76 65 2c 20 | 65 67 3a 0d 09 2f 2f 20 | above, |eg:..// |
|00000570| 20 20 20 50 65 6f 70 6c | 65 2e 4c 61 73 74 4e 61 | Peopl|e.LastNa|
|00000580| 6d 65 2e 69 6e 64 65 78 | 57 6f 72 64 73 28 6e 65 |me.index|Words(ne|
|00000590| 77 20 4d 79 46 61 6e 63 | 79 50 61 72 73 65 72 29 |w MyFanc|yParser)|
|000005a0| 0d 0d 0d 0d 09 69 66 20 | 28 64 62 43 6f 6e 6e 65 |.....if |(dbConne|
|000005b0| 63 74 3a 3a 66 69 6c 65 | 45 78 69 73 74 73 28 6b |ct::file|Exists(k|
|000005c0| 45 78 69 73 74 73 4e 61 | 6d 65 29 29 20 7b 0d 09 |ExistsNa|me)) {..|
|000005d0| 09 74 68 65 44 42 2e 6f | 70 65 6e 43 6f 6e 6e 65 |.theDB.o|penConne|
|000005e0| 63 74 69 6f 6e 28 6b 44 | 61 74 61 62 61 73 65 4e |ction(kD|atabaseN|
|000005f0| 61 6d 65 29 3b 0d 09 09 | 63 6f 75 74 20 3c 3c 20 |ame);...|cout << |
|00000600| 22 44 65 6c 65 74 69 6e | 67 20 70 72 65 76 69 6f |"Deletin|g previo|
|00000610| 75 73 20 74 65 73 74 20 | 64 61 74 61 5c 6e 22 3b |us test |data\n";|
|00000620| 0d 09 09 50 65 6f 70 6c | 65 2e 64 65 6c 65 74 65 |...Peopl|e.delete|
|00000630| 41 6c 6c 28 29 3b 0d 09 | 7d 0d 09 65 6c 73 65 20 |All();..|}..else |
|00000640| 7b 0d 09 09 74 68 65 44 | 42 2e 6e 65 77 43 6f 6e |{...theD|B.newCon|
|00000650| 6e 65 63 74 69 6f 6e 28 | 6b 44 61 74 61 62 61 73 |nection(|kDatabas|
|00000660| 65 4e 61 6d 65 29 3b 0d | 09 7d 0d 0d 09 50 65 6f |eName);.|.}...Peo|
|00000670| 70 6c 65 2e 73 75 70 70 | 72 65 73 73 49 6e 64 69 |ple.supp|ressIndi|
|00000680| 63 65 73 28 29 3b 09 0d | 09 63 6f 75 74 20 3c 3c |ces();..|.cout <<|
|00000690| 20 22 41 64 64 69 6e 67 | 20 74 65 73 74 20 64 61 | "Adding| test da|
|000006a0| 74 61 5c 6e 5c 6e 22 3b | 0d 09 50 65 6f 70 6c 65 |ta\n\n";|..People|
|000006b0| 2e 41 64 64 54 65 73 74 | 44 61 74 61 28 29 3b 0d |.AddTest|Data();.|
|000006c0| 0d 2f 2f 09 50 65 6f 70 | 6c 65 2e 73 65 74 53 6f |.//.Peop|le.setSo|
|000006d0| 72 74 4f 72 64 65 72 28 | 50 65 6f 70 6c 65 2e 4c |rtOrder(|People.L|
|000006e0| 61 73 74 4e 61 6d 65 29 | 3b 0d 2f 2f 09 63 6f 75 |astName)|;.//.cou|
|000006f0| 74 20 3c 3c 20 22 4c 69 | 73 74 69 6e 67 20 65 6e |t << "Li|sting en|
|00000700| 74 69 72 65 20 64 61 74 | 61 62 61 73 65 5c 6e 22 |tire dat|abase\n"|
|00000710| 20 3c 3c 20 74 68 65 44 | 42 20 3c 3c 20 65 6e 64 | << theD|B << end|
|00000720| 6c 20 3c 3c 20 65 6e 64 | 6c 3b 0d 2f 2f 20 4e 4f |l << end|l;.// NO|
|00000730| 54 45 20 77 65 20 64 75 | 6d 70 65 64 20 61 6c 6c |TE we du|mped all|
|00000740| 20 74 68 65 20 66 69 65 | 6c 64 73 20 6f 66 20 50 | the fie|lds of P|
|00000750| 65 6f 70 6c 65 20 74 68 | 69 73 20 74 69 6d 65 2c |eople th|is time,|
|00000760| 20 66 72 6f 6d 20 6e 6f | 77 20 6f 6e 20 77 65 20 | from no|w on we |
|00000770| 77 69 6c 6c 0d 2f 2f 20 | 75 73 65 20 64 62 56 69 |will.// |use dbVi|
|00000780| 65 77 73 20 74 6f 20 72 | 65 73 74 72 69 63 74 20 |ews to r|estrict |
|00000790| 74 68 65 20 66 69 65 6c | 64 73 20 6c 69 73 74 65 |the fiel|ds liste|
|000007a0| 64 0d 0d 09 09 0d 09 64 | 62 56 69 65 77 20 6a 75 |d......d|bView ju|
|000007b0| 73 74 4e 61 6d 65 73 28 | 50 65 6f 70 6c 65 2c 20 |stNames(|People, |
|000007c0| 66 61 6c 73 65 29 3b 09 | 2f 2f 20 42 55 47 20 73 |false);.|// BUG s|
|000007d0| 65 61 72 63 68 53 65 6c | 65 63 74 69 6f 6e 20 64 |earchSel|ection d|
|000007e0| 6f 65 73 6e 27 74 20 77 | 6f 72 6b 20 69 66 20 64 |oesn't w|ork if d|
|000007f0| 6f 6e 27 74 20 73 70 65 | 63 69 66 79 20 66 61 6c |on't spe|cify fal|
|00000800| 73 65 20 3d 20 6e 6f 74 | 20 61 20 73 68 61 72 65 |se = not| a share|
|00000810| 64 20 73 65 6c 65 63 74 | 69 6f 6e 0d 09 6a 75 73 |d select|ion..jus|
|00000820| 74 4e 61 6d 65 73 20 3c | 3c 20 50 65 6f 70 6c 65 |tNames <|< People|
|00000830| 2e 4c 61 73 74 4e 61 6d | 65 20 3c 3c 20 50 65 6f |.LastNam|e << Peo|
|00000840| 70 6c 65 2e 4f 74 68 65 | 72 4e 61 6d 65 73 3b 0d |ple.Othe|rNames;.|
|00000850| 09 0d 09 50 65 6f 70 6c | 65 2e 73 65 61 72 63 68 |...Peopl|e.search|
|00000860| 28 50 65 6f 70 6c 65 2e | 44 65 73 63 72 69 70 74 |(People.|Descript|
|00000870| 69 6f 6e 2e 68 61 73 57 | 6f 72 64 28 22 62 6c 6f |ion.hasW|ord("blo|
|00000880| 6b 65 22 29 29 3b 0d 09 | 63 6f 75 74 20 3c 3c 20 |ke"));..|cout << |
|00000890| 22 50 65 6f 70 6c 65 20 | 77 69 74 68 20 27 62 6c |"People |with 'bl|
|000008a0| 6f 6b 65 27 20 69 6e 20 | 74 68 65 69 72 20 44 65 |oke' in |their De|
|000008b0| 73 63 72 69 70 74 69 6f | 6e 20 28 6b 65 79 77 6f |scriptio|n (keywo|
|000008c0| 72 64 20 66 69 6c 65 20 | 6e 6f 6e 2d 69 6e 64 65 |rd file |non-inde|
|000008d0| 78 65 64 29 3a 5c 6e 22 | 0d 09 09 20 3c 3c 20 6a |xed):\n"|... << j|
|000008e0| 75 73 74 4e 61 6d 65 73 | 20 3c 3c 20 65 6e 64 6c |ustNames| << endl|
|000008f0| 3b 0d 0d 09 50 65 6f 70 | 6c 65 2e 73 65 61 72 63 |;...Peop|le.searc|
|00000900| 68 28 50 65 6f 70 6c 65 | 2e 44 65 73 63 72 69 70 |h(People|.Descrip|
|00000910| 74 69 6f 6e 2e 68 61 73 | 57 6f 72 64 53 74 61 72 |tion.has|WordStar|
|00000920| 74 73 57 69 74 68 28 22 | 62 6c 6f 22 29 29 3b 0d |tsWith("|blo"));.|
|00000930| 09 63 6f 75 74 20 3c 3c | 20 22 50 65 6f 70 6c 65 |.cout <<| "People|
|00000940| 20 77 69 74 68 20 77 6f | 72 64 20 73 74 61 72 74 | with wo|rd start|
|00000950| 69 6e 67 20 77 69 74 68 | 20 27 62 6c 6f 27 20 69 |ing with| 'blo' i|
|00000960| 6e 20 74 68 65 69 72 20 | 44 65 73 63 72 69 70 74 |n their |Descript|
|00000970| 69 6f 6e 20 28 4a 6f 68 | 6e 20 53 6d 69 74 68 29 |ion (Joh|n Smith)|
|00000980| 3a 5c 6e 22 0d 09 09 20 | 3c 3c 20 6a 75 73 74 4e |:\n"... |<< justN|
|00000990| 61 6d 65 73 20 3c 3c 20 | 65 6e 64 6c 3b 0d 0d 09 |ames << |endl;...|
|000009a0| 63 6f 75 74 20 3c 3c 20 | 22 4e 6f 77 20 72 65 62 |cout << |"Now reb|
|000009b0| 75 69 6c 64 69 6e 67 20 | 74 68 65 20 64 61 74 61 |uilding |the data|
|000009c0| 62 61 73 65 20 69 6e 64 | 69 63 65 73 2c 20 74 6f |base ind|ices, to|
|000009d0| 20 73 65 65 20 69 66 20 | 61 62 6f 76 65 20 66 61 | see if |above fa|
|000009e0| 73 74 65 72 5c 6e 22 3b | 0d 09 50 65 6f 70 6c 65 |ster\n";|..People|
|000009f0| 2e 72 65 62 75 69 6c 64 | 28 29 3b 0d 0d 09 50 65 |.rebuild|();...Pe|
|00000a00| 6f 70 6c 65 2e 73 65 61 | 72 63 68 28 50 65 6f 70 |ople.sea|rch(Peop|
|00000a10| 6c 65 2e 44 65 73 63 72 | 69 70 74 69 6f 6e 2e 68 |le.Descr|iption.h|
|00000a20| 61 73 57 6f 72 64 28 22 | 62 6c 6f 6b 65 22 29 29 |asWord("|bloke"))|
|00000a30| 3b 0d 09 63 6f 75 74 20 | 3c 3c 20 22 50 65 6f 70 |;..cout |<< "Peop|
|00000a40| 6c 65 20 77 69 74 68 20 | 27 62 6c 6f 6b 65 27 20 |le with |'bloke' |
|00000a50| 69 6e 20 74 68 65 69 72 | 20 44 65 73 63 72 69 70 |in their| Descrip|
|00000a60| 74 69 6f 6e 20 28 4a 6f | 68 6e 20 53 6d 69 74 68 |tion (Jo|hn Smith|
|00000a70| 29 3a 5c 6e 22 0d 09 09 | 20 3c 3c 20 6a 75 73 74 |):\n"...| << just|
|00000a80| 4e 61 6d 65 73 20 3c 3c | 20 65 6e 64 6c 3b 0d 0d |Names <<| endl;..|
|00000a90| 09 50 65 6f 70 6c 65 2e | 73 65 61 72 63 68 28 50 |.People.|search(P|
|00000aa0| 65 6f 70 6c 65 2e 44 65 | 73 63 72 69 70 74 69 6f |eople.De|scriptio|
|00000ab0| 6e 2e 68 61 73 57 6f 72 | 64 28 22 62 6c 6f 22 29 |n.hasWor|d("blo")|
|00000ac0| 29 3b 0d 09 63 6f 75 74 | 20 3c 3c 20 22 50 65 6f |);..cout| << "Peo|
|00000ad0| 70 6c 65 20 77 69 74 68 | 20 27 62 6c 6f 27 20 69 |ple with| 'blo' i|
|00000ae0| 6e 20 74 68 65 69 72 20 | 44 65 73 63 72 69 70 74 |n their |Descript|
|00000af0| 69 6f 6e 20 28 6e 6f 62 | 6f 64 79 29 3a 5c 6e 22 |ion (nob|ody):\n"|
|00000b00| 0d 09 09 20 3c 3c 20 6a | 75 73 74 4e 61 6d 65 73 |... << j|ustNames|
|00000b10| 20 3c 3c 20 65 6e 64 6c | 3b 0d 0d 09 50 65 6f 70 | << endl|;...Peop|
|00000b20| 6c 65 2e 73 65 61 72 63 | 68 28 50 65 6f 70 6c 65 |le.searc|h(People|
|00000b30| 2e 44 65 73 63 72 69 70 | 74 69 6f 6e 2e 68 61 73 |.Descrip|tion.has|
|00000b40| 57 6f 72 64 53 74 61 72 | 74 73 57 69 74 68 28 22 |WordStar|tsWith("|
|00000b50| 62 6c 6f 22 29 29 3b 0d | 09 63 6f 75 74 20 3c 3c |blo"));.|.cout <<|
|00000b60| 20 22 50 65 6f 70 6c 65 | 20 77 69 74 68 20 77 6f | "People| with wo|
|00000b70| 72 64 20 73 74 61 72 74 | 69 6e 67 20 77 69 74 68 |rd start|ing with|
|00000b80| 20 27 62 6c 6f 27 20 69 | 6e 20 74 68 65 69 72 20 | 'blo' i|n their |
|00000b90| 44 65 73 63 72 69 70 74 | 69 6f 6e 20 28 4a 6f 68 |Descript|ion (Joh|
|00000ba0| 6e 20 53 6d 69 74 68 29 | 3a 5c 6e 22 0d 09 09 20 |n Smith)|:\n"... |
|00000bb0| 3c 3c 20 6a 75 73 74 4e | 61 6d 65 73 20 3c 3c 20 |<< justN|ames << |
|00000bc0| 65 6e 64 6c 3b 0d 0d 09 | 50 65 6f 70 6c 65 2e 73 |endl;...|People.s|
|00000bd0| 65 61 72 63 68 28 50 65 | 6f 70 6c 65 2e 44 65 73 |earch(Pe|ople.Des|
|00000be0| 63 72 69 70 74 69 6f 6e | 2e 68 61 73 57 6f 72 64 |cription|.hasWord|
|00000bf0| 28 22 41 6e 64 79 22 29 | 29 3b 0d 09 63 6f 75 74 |("Andy")|);..cout|
|00000c00| 20 3c 3c 20 22 50 65 6f | 70 6c 65 20 77 69 74 68 | << "Peo|ple with|
|00000c10| 20 27 41 6e 64 79 27 20 | 69 6e 20 74 68 65 69 72 | 'Andy' |in their|
|00000c20| 20 44 65 73 63 72 69 70 | 74 69 6f 6e 20 28 41 6e | Descrip|tion (An|
|00000c30| 64 79 20 26 20 54 72 69 | 73 73 61 20 44 65 6e 74 |dy & Tri|ssa Dent|
|00000c40| 29 3a 5c 6e 22 0d 09 09 | 20 3c 3c 20 6a 75 73 74 |):\n"...| << just|
|00000c50| 4e 61 6d 65 73 20 3c 3c | 20 65 6e 64 6c 3b 0d 0d |Names <<| endl;..|
|00000c60| 09 50 65 6f 70 6c 65 2e | 73 65 61 72 63 68 53 65 |.People.|searchSe|
|00000c70| 6c 65 63 74 69 6f 6e 28 | 50 65 6f 70 6c 65 2e 44 |lection(|People.D|
|00000c80| 65 73 63 72 69 70 74 69 | 6f 6e 2e 68 61 73 57 6f |escripti|on.hasWo|
|00000c90| 72 64 28 22 6d 61 72 72 | 69 65 64 22 29 29 3b 0d |rd("marr|ied"));.|
|00000ca0| 09 63 6f 75 74 20 3c 3c | 20 22 50 65 6f 70 6c 65 |.cout <<| "People|
|00000cb0| 20 77 69 74 68 20 27 41 | 6e 64 79 27 20 69 6e 20 | with 'A|ndy' in |
|00000cc0| 74 68 65 69 72 20 44 65 | 73 63 72 69 70 74 69 6f |their De|scriptio|
|00000cd0| 6e 20 61 6e 64 20 61 6c | 73 6f 20 28 76 69 61 20 |n and al|so (via |
|00000ce0| 73 65 61 72 63 68 53 65 | 6c 65 63 74 69 6f 6e 29 |searchSe|lection)|
|00000cf0| 20 27 6d 61 72 72 69 65 | 64 27 20 28 54 72 69 73 | 'marrie|d' (Tris|
|00000d00| 73 61 20 44 65 6e 74 29 | 3a 5c 6e 22 0d 09 09 20 |sa Dent)|:\n"... |
|00000d10| 3c 3c 20 6a 75 73 74 4e | 61 6d 65 73 20 3c 3c 20 |<< justN|ames << |
|00000d20| 65 6e 64 6c 3b 0d 0d 09 | 50 65 6f 70 6c 65 2e 73 |endl;...|People.s|
|00000d30| 74 61 72 74 28 29 3b 09 | 2f 2f 20 61 66 74 65 72 |tart();.|// after|
|00000d40| 20 74 68 65 20 61 62 6f | 76 65 20 6f 75 74 70 75 | the abo|ve outpu|
|00000d50| 74 20 76 69 61 20 63 6f | 75 74 0d 09 50 65 6f 70 |t via co|ut..Peop|
|00000d60| 6c 65 2e 44 65 73 63 72 | 69 70 74 69 6f 6e 20 2b |le.Descr|iption +|
|00000d70| 3d 20 22 20 42 54 57 20 | 41 6e 64 79 27 73 20 6e |= " BTW |Andy's n|
|00000d80| 6f 74 20 61 20 62 61 64 | 20 62 6c 6f 6b 65 20 65 |ot a bad| bloke e|
|00000d90| 69 74 68 65 72 2e 22 3b | 0d 09 50 65 6f 70 6c 65 |ither.";|..People|
|00000da0| 2e 73 61 76 65 52 65 63 | 6f 72 64 28 29 3b 09 2f |.saveRec|ord();./|
|00000db0| 2f 20 77 69 6c 6c 20 72 | 65 2d 69 6e 64 65 78 0d |/ will r|e-index.|
|00000dc0| 09 0d 09 50 65 6f 70 6c | 65 2e 73 65 61 72 63 68 |...Peopl|e.search|
|00000dd0| 28 50 65 6f 70 6c 65 2e | 44 65 73 63 72 69 70 74 |(People.|Descript|
|00000de0| 69 6f 6e 2e 68 61 73 57 | 6f 72 64 28 22 62 6c 6f |ion.hasW|ord("blo|
|00000df0| 6b 65 22 29 29 3b 0d 09 | 63 6f 75 74 20 3c 3c 20 |ke"));..|cout << |
|00000e00| 22 50 65 6f 70 6c 65 20 | 77 69 74 68 20 27 62 6c |"People |with 'bl|
|00000e10| 6f 6b 65 27 20 69 6e 20 | 74 68 65 69 72 20 44 65 |oke' in |their De|
|00000e20| 73 63 72 69 70 74 69 6f | 6e 20 28 4a 6f 68 6e 20 |scriptio|n (John |
|00000e30| 53 6d 69 74 68 20 26 20 | 54 72 69 73 73 61 20 44 |Smith & |Trissa D|
|00000e40| 65 6e 74 29 3a 5c 6e 22 | 0d 09 09 20 3c 3c 20 6a |ent):\n"|... << j|
|00000e50| 75 73 74 4e 61 6d 65 73 | 20 3c 3c 20 65 6e 64 6c |ustNames| << endl|
|00000e60| 3b 0d 0d 09 50 65 6f 70 | 6c 65 2e 73 65 61 72 63 |;...Peop|le.searc|
|00000e70| 68 28 50 65 6f 70 6c 65 | 2e 44 65 73 63 72 69 70 |h(People|.Descrip|
|00000e80| 74 69 6f 6e 2e 68 61 73 | 41 6e 79 57 6f 72 64 73 |tion.has|AnyWords|
|00000e90| 44 65 6c 69 6d 69 74 65 | 64 28 22 62 6c 6f 6b 65 |Delimite|d("bloke|
|00000ea0| 2f 73 6f 66 74 77 61 72 | 65 22 2c 20 27 2f 27 29 |/softwar|e", '/')|
|00000eb0| 29 3b 0d 09 63 6f 75 74 | 20 3c 3c 20 22 50 65 6f |);..cout| << "Peo|
|00000ec0| 70 6c 65 20 77 69 74 68 | 20 27 62 6c 6f 6b 65 27 |ple with| 'bloke'|
|00000ed0| 20 6f 72 20 27 73 6f 66 | 74 77 61 72 65 27 20 69 | or 'sof|tware' i|
|00000ee0| 6e 20 74 68 65 69 72 20 | 44 65 73 63 72 69 70 74 |n their |Descript|
|00000ef0| 69 6f 6e 20 28 4a 6f 68 | 6e 20 53 6d 69 74 68 2c |ion (Joh|n Smith,|
|00000f00| 20 41 6e 64 79 20 26 20 | 54 72 69 73 73 61 20 44 | Andy & |Trissa D|
|00000f10| 65 6e 74 29 3a 5c 6e 22 | 0d 09 09 20 3c 3c 20 6a |ent):\n"|... << j|
|00000f20| 75 73 74 4e 61 6d 65 73 | 20 3c 3c 20 65 6e 64 6c |ustNames| << endl|
|00000f30| 3b 0d 0d 09 50 65 6f 70 | 6c 65 2e 73 65 61 72 63 |;...Peop|le.searc|
|00000f40| 68 28 50 65 6f 70 6c 65 | 2e 44 65 73 63 72 69 70 |h(People|.Descrip|
|00000f50| 74 69 6f 6e 2e 68 61 73 | 41 6c 6c 57 6f 72 64 73 |tion.has|AllWords|
|00000f60| 44 65 6c 69 6d 69 74 65 | 64 28 22 62 6c 6f 6b 65 |Delimite|d("bloke|
|00000f70| 2f 73 6f 66 74 77 61 72 | 65 22 2c 20 27 2f 27 29 |/softwar|e", '/')|
|00000f80| 29 3b 0d 09 63 6f 75 74 | 20 3c 3c 20 22 50 65 6f |);..cout| << "Peo|
|00000f90| 70 6c 65 20 77 69 74 68 | 20 27 62 6c 6f 6b 65 27 |ple with| 'bloke'|
|00000fa0| 20 61 6e 64 20 27 73 6f | 66 74 77 61 72 65 27 20 | and 'so|ftware' |
|00000fb0| 69 6e 20 74 68 65 69 72 | 20 44 65 73 63 72 69 70 |in their| Descrip|
|00000fc0| 74 69 6f 6e 20 28 6e 6f | 62 6f 64 79 29 3a 5c 6e |tion (no|body):\n|
|00000fd0| 22 0d 09 09 20 3c 3c 20 | 6a 75 73 74 4e 61 6d 65 |"... << |justName|
|00000fe0| 73 20 3c 3c 20 65 6e 64 | 6c 3b 0d 0d 09 50 65 6f |s << end|l;...Peo|
|00000ff0| 70 6c 65 2e 73 65 61 72 | 63 68 28 50 65 6f 70 6c |ple.sear|ch(Peopl|
|00001000| 65 2e 44 65 73 63 72 69 | 70 74 69 6f 6e 2e 68 61 |e.Descri|ption.ha|
|00001010| 73 41 6c 6c 57 6f 72 64 | 73 53 74 61 72 74 73 57 |sAllWord|sStartsW|
|00001020| 69 74 68 44 65 6c 69 6d | 69 74 65 64 28 22 62 6c |ithDelim|ited("bl|
|00001030| 6f 2f 73 6f 22 2c 20 27 | 2f 27 29 29 3b 0d 09 63 |o/so", '|/'));..c|
|00001040| 6f 75 74 20 3c 3c 20 22 | 50 65 6f 70 6c 65 20 77 |out << "|People w|
|00001050| 69 74 68 20 27 62 6c 6f | 27 20 61 6e 64 20 27 73 |ith 'blo|' and 's|
|00001060| 6f 27 20 69 6e 20 74 68 | 65 69 72 20 44 65 73 63 |o' in th|eir Desc|
|00001070| 72 69 70 74 69 6f 6e 20 | 28 4a 6f 68 6e 20 53 6d |ription |(John Sm|
|00001080| 69 74 68 29 3a 5c 6e 22 | 0d 09 09 20 3c 3c 20 6a |ith):\n"|... << j|
|00001090| 75 73 74 4e 61 6d 65 73 | 20 3c 3c 20 65 6e 64 6c |ustNames| << endl|
|000010a0| 3b 0d 0d 09 63 6f 6e 73 | 74 20 63 68 61 72 2a 20 |;...cons|t char* |
|000010b0| 73 63 68 57 6f 72 64 73 | 5b 32 5d 20 3d 20 7b 22 |schWords|[2] = {"|
|000010c0| 67 69 72 61 66 66 65 22 | 2c 20 22 62 6f 6f 74 73 |giraffe"|, "boots|
|000010d0| 22 7d 3b 0d 09 50 65 6f | 70 6c 65 2e 73 65 61 72 |"};..Peo|ple.sear|
|000010e0| 63 68 28 50 65 6f 70 6c | 65 2e 44 65 73 63 72 69 |ch(Peopl|e.Descri|
|000010f0| 70 74 69 6f 6e 2e 68 61 | 73 41 6e 79 57 6f 72 64 |ption.ha|sAnyWord|
|00001100| 73 4f 66 28 73 63 68 57 | 6f 72 64 73 2c 20 32 29 |sOf(schW|ords, 2)|
|00001110| 29 3b 0d 09 63 6f 75 74 | 20 3c 3c 20 22 50 65 6f |);..cout| << "Peo|
|00001120| 70 6c 65 20 77 69 74 68 | 20 27 67 69 72 61 66 66 |ple with| 'giraff|
|00001130| 65 27 20 6f 72 20 27 62 | 6f 6f 74 73 27 20 69 6e |e' or 'b|oots' in|
|00001140| 20 74 68 65 69 72 20 44 | 65 73 63 72 69 70 74 69 | their D|escripti|
|00001150| 6f 6e 20 28 4a 6f 68 6e | 20 53 6d 69 74 68 29 3a |on (John| Smith):|
|00001160| 5c 6e 22 0d 09 09 20 3c | 3c 20 6a 75 73 74 4e 61 |\n"... <|< justNa|
|00001170| 6d 65 73 20 3c 3c 20 65 | 6e 64 6c 3b 0d 0d 09 50 |mes << e|ndl;...P|
|00001180| 65 6f 70 6c 65 2e 73 65 | 61 72 63 68 28 50 65 6f |eople.se|arch(Peo|
|00001190| 70 6c 65 2e 44 65 73 63 | 72 69 70 74 69 6f 6e 2e |ple.Desc|ription.|
|000011a0| 68 61 73 41 6c 6c 57 6f | 72 64 73 4f 66 28 73 63 |hasAllWo|rdsOf(sc|
|000011b0| 68 57 6f 72 64 73 2c 20 | 32 29 29 3b 0d 09 63 6f |hWords, |2));..co|
|000011c0| 75 74 20 3c 3c 20 22 50 | 65 6f 70 6c 65 20 77 69 |ut << "P|eople wi|
|000011d0| 74 68 20 27 67 69 72 61 | 66 66 65 27 20 61 6e 64 |th 'gira|ffe' and|
|000011e0| 20 27 62 6f 6f 74 73 27 | 20 69 6e 20 74 68 65 69 | 'boots'| in thei|
|000011f0| 72 20 44 65 73 63 72 69 | 70 74 69 6f 6e 20 28 6e |r Descri|ption (n|
|00001200| 6f 62 6f 64 79 29 3a 5c | 6e 22 0d 09 09 20 3c 3c |obody):\|n"... <<|
|00001210| 20 6a 75 73 74 4e 61 6d | 65 73 20 3c 3c 20 65 6e | justNam|es << en|
|00001220| 64 6c 3b 0d 0d 09 63 6f | 75 74 20 3c 3c 20 22 5c |dl;...co|ut << "\|
|00001230| 6e 5c 6e 2a 2a 2a 2a 2a | 2a 2a 2a 20 4e 6f 77 20 |n\n*****|*** Now |
|00001240| 73 65 61 72 63 68 20 74 | 61 62 6c 65 2c 20 72 65 |search t|able, re|
|00001250| 67 61 72 64 6c 65 73 73 | 20 6f 66 20 66 69 65 6c |gardless| of fiel|
|00001260| 64 20 2a 2a 2a 2a 2a 2a | 2a 2a 2a 5c 6e 5c 6e 22 |d ******|***\n\n"|
|00001270| 3b 0d 0d 09 50 65 6f 70 | 6c 65 2e 73 65 61 72 63 |;...Peop|le.searc|
|00001280| 68 28 50 65 6f 70 6c 65 | 2e 68 61 73 57 6f 72 64 |h(People|.hasWord|
|00001290| 28 22 62 6c 6f 6b 65 22 | 29 29 3b 0d 09 63 6f 75 |("bloke"|));..cou|
|000012a0| 74 20 3c 3c 20 22 50 65 | 6f 70 6c 65 20 77 69 74 |t << "Pe|ople wit|
|000012b0| 68 20 27 62 6c 6f 6b 65 | 27 20 28 4a 6f 68 6e 20 |h 'bloke|' (John |
|000012c0| 53 6d 69 74 68 20 26 20 | 54 72 69 73 73 61 20 44 |Smith & |Trissa D|
|000012d0| 65 6e 74 29 3a 5c 6e 22 | 0d 09 09 20 3c 3c 20 6a |ent):\n"|... << j|
|000012e0| 75 73 74 4e 61 6d 65 73 | 20 3c 3c 20 65 6e 64 6c |ustNames| << endl|
|000012f0| 3b 0d 0d 09 50 65 6f 70 | 6c 65 2e 73 65 61 72 63 |;...Peop|le.searc|
|00001300| 68 28 50 65 6f 70 6c 65 | 2e 68 61 73 41 6e 79 57 |h(People|.hasAnyW|
|00001310| 6f 72 64 73 44 65 6c 69 | 6d 69 74 65 64 28 22 62 |ordsDeli|mited("b|
|00001320| 6c 6f 6b 65 2f 73 6f 66 | 74 77 61 72 65 22 2c 20 |loke/sof|tware", |
|00001330| 27 2f 27 29 29 3b 0d 09 | 63 6f 75 74 20 3c 3c 20 |'/'));..|cout << |
|00001340| 22 50 65 6f 70 6c 65 20 | 77 69 74 68 20 27 62 6c |"People |with 'bl|
|00001350| 6f 6b 65 27 20 6f 72 20 | 27 73 6f 66 74 77 61 72 |oke' or |'softwar|
|00001360| 65 27 20 28 4a 6f 68 6e | 20 53 6d 69 74 68 2c 20 |e' (John| Smith, |
|00001370| 41 6e 64 79 20 26 20 54 | 72 69 73 73 61 20 44 65 |Andy & T|rissa De|
|00001380| 6e 74 29 3a 5c 6e 22 0d | 09 09 20 3c 3c 20 6a 75 |nt):\n".|.. << ju|
|00001390| 73 74 4e 61 6d 65 73 20 | 3c 3c 20 65 6e 64 6c 3b |stNames |<< endl;|
|000013a0| 0d 0d 09 50 65 6f 70 6c | 65 2e 73 65 61 72 63 68 |...Peopl|e.search|
|000013b0| 28 50 65 6f 70 6c 65 2e | 68 61 73 41 6c 6c 57 6f |(People.|hasAllWo|
|000013c0| 72 64 73 44 65 6c 69 6d | 69 74 65 64 28 22 62 6c |rdsDelim|ited("bl|
|000013d0| 6f 6b 65 2f 73 6f 66 74 | 77 61 72 65 22 2c 20 27 |oke/soft|ware", '|
|000013e0| 2f 27 29 29 3b 0d 09 63 | 6f 75 74 20 3c 3c 20 22 |/'));..c|out << "|
|000013f0| 50 65 6f 70 6c 65 20 77 | 69 74 68 20 27 62 6c 6f |People w|ith 'blo|
|00001400| 6b 65 27 20 61 6e 64 20 | 27 73 6f 66 74 77 61 72 |ke' and |'softwar|
|00001410| 65 27 20 28 6e 6f 62 6f | 64 79 29 3a 5c 6e 22 0d |e' (nobo|dy):\n".|
|00001420| 09 09 20 3c 3c 20 6a 75 | 73 74 4e 61 6d 65 73 20 |.. << ju|stNames |
|00001430| 3c 3c 20 65 6e 64 6c 3b | 0d 0d 09 50 65 6f 70 6c |<< endl;|...Peopl|
|00001440| 65 2e 73 65 61 72 63 68 | 28 50 65 6f 70 6c 65 2e |e.search|(People.|
|00001450| 68 61 73 41 6c 6c 57 6f | 72 64 73 53 74 61 72 74 |hasAllWo|rdsStart|
|00001460| 73 57 69 74 68 44 65 6c | 69 6d 69 74 65 64 28 22 |sWithDel|imited("|
|00001470| 62 6c 6f 2f 73 6f 22 2c | 20 27 2f 27 29 29 3b 0d |blo/so",| '/'));.|
|00001480| 09 63 6f 75 74 20 3c 3c | 20 22 50 65 6f 70 6c 65 |.cout <<| "People|
|00001490| 20 77 69 74 68 20 27 62 | 6c 6f 27 20 61 6e 64 20 | with 'b|lo' and |
|000014a0| 27 73 6f 27 20 28 4a 6f | 68 6e 20 53 6d 69 74 68 |'so' (Jo|hn Smith|
|000014b0| 29 3a 5c 6e 22 0d 09 09 | 20 3c 3c 20 6a 75 73 74 |):\n"...| << just|
|000014c0| 4e 61 6d 65 73 20 3c 3c | 20 65 6e 64 6c 3b 0d 0d |Names <<| endl;..|
|000014d0| 09 50 65 6f 70 6c 65 2e | 73 65 61 72 63 68 28 50 |.People.|search(P|
|000014e0| 65 6f 70 6c 65 2e 68 61 | 73 41 6e 79 57 6f 72 64 |eople.ha|sAnyWord|
|000014f0| 73 4f 66 28 73 63 68 57 | 6f 72 64 73 2c 20 32 29 |sOf(schW|ords, 2)|
|00001500| 29 3b 0d 09 63 6f 75 74 | 20 3c 3c 20 22 50 65 6f |);..cout| << "Peo|
|00001510| 70 6c 65 20 77 69 74 68 | 20 27 67 69 72 61 66 66 |ple with| 'giraff|
|00001520| 65 27 20 6f 72 20 27 62 | 6f 6f 74 73 27 20 28 4a |e' or 'b|oots' (J|
|00001530| 6f 68 6e 20 53 6d 69 74 | 68 29 3a 5c 6e 22 0d 09 |ohn Smit|h):\n"..|
|00001540| 09 20 3c 3c 20 6a 75 73 | 74 4e 61 6d 65 73 20 3c |. << jus|tNames <|
|00001550| 3c 20 65 6e 64 6c 3b 0d | 0d 09 50 65 6f 70 6c 65 |< endl;.|..People|
|00001560| 2e 73 65 61 72 63 68 28 | 50 65 6f 70 6c 65 2e 68 |.search(|People.h|
|00001570| 61 73 41 6c 6c 57 6f 72 | 64 73 4f 66 28 73 63 68 |asAllWor|dsOf(sch|
|00001580| 57 6f 72 64 73 2c 20 32 | 29 29 3b 0d 09 63 6f 75 |Words, 2|));..cou|
|00001590| 74 20 3c 3c 20 22 50 65 | 6f 70 6c 65 20 77 69 74 |t << "Pe|ople wit|
|000015a0| 68 20 27 67 69 72 61 66 | 66 65 27 20 61 6e 64 20 |h 'giraf|fe' and |
|000015b0| 27 62 6f 6f 74 73 27 20 | 28 6e 6f 62 6f 64 79 29 |'boots' |(nobody)|
|000015c0| 3a 5c 6e 22 0d 09 09 20 | 3c 3c 20 6a 75 73 74 4e |:\n"... |<< justN|
|000015d0| 61 6d 65 73 20 3c 3c 20 | 65 6e 64 6c 3b 0d 0d 09 |ames << |endl;...|
|000015e0| 63 6f 6e 73 74 20 63 68 | 61 72 2a 20 73 63 68 57 |const ch|ar* schW|
|000015f0| 6f 72 64 73 32 5b 32 5d | 20 3d 20 7b 22 54 72 69 |ords2[2]| = {"Tri|
|00001600| 73 73 61 22 2c 20 22 6d | 61 72 72 69 65 64 22 7d |ssa", "m|arried"}|
|00001610| 3b 0d 09 50 65 6f 70 6c | 65 2e 73 65 61 72 63 68 |;..Peopl|e.search|
|00001620| 28 50 65 6f 70 6c 65 2e | 68 61 73 41 6c 6c 57 6f |(People.|hasAllWo|
|00001630| 72 64 73 4f 66 28 73 63 | 68 57 6f 72 64 73 32 2c |rdsOf(sc|hWords2,|
|00001640| 20 32 29 29 3b 0d 09 63 | 6f 75 74 20 3c 3c 20 22 | 2));..c|out << "|
|00001650| 50 65 6f 70 6c 65 20 77 | 69 74 68 20 27 54 72 69 |People w|ith 'Tri|
|00001660| 73 73 61 27 20 61 6e 64 | 20 27 6d 61 72 72 69 65 |ssa' and| 'marrie|
|00001670| 64 27 20 28 54 72 69 73 | 73 61 20 44 65 6e 74 29 |d' (Tris|sa Dent)|
|00001680| 3a 5c 6e 22 0d 09 09 20 | 3c 3c 20 6a 75 73 74 4e |:\n"... |<< justN|
|00001690| 61 6d 65 73 20 3c 3c 20 | 65 6e 64 6c 3b 0d 0d 09 |ames << |endl;...|
|000016a0| 63 6f 75 74 20 3c 3c 20 | 22 54 65 73 74 20 43 6f |cout << |"Test Co|
|000016b0| 6d 70 6c 65 74 65 64 22 | 20 3c 3c 20 65 6e 64 6c |mpleted"| << endl|
|000016c0| 3b 0d 09 0d 09 72 65 74 | 75 72 6e 20 45 58 49 54 |;....ret|urn EXIT|
|000016d0| 5f 53 55 43 43 45 53 53 | 3b 0d 7d 20 0d 00 00 00 |_SUCCESS|;.} ....|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00001710| 00 00 00 00 ff fe 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 0c 6f 6f 66 74 73 74 32 | 38 2e 63 70 70 32 02 00 |.ooftst2|8.cpp2..|
|00001740| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00001750| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 b0 1b 76 01 00 00 | 00 00 00 00 01 9a 00 00 |....v...|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 4f 25 01 42 52 |........|...O%.BR|
|00001790| 4f 57 4d 41 43 52 06 00 | 00 00 00 00 00 00 00 00 |OWMACR..|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 7d 25 01 | 43 50 43 54 41 50 50 4c |.....}%.|CPCTAPPL|
|000017c0| 03 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 37 |........|.......7|
|000017e0| 25 01 43 57 49 45 69 44 | 4c 4c 01 00 00 00 00 00 |%.CWIEiD|LL......|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 03 | 00 04 00 56 00 7f 02 6c |........|...V...l|
|00001830| 03 3b 00 56 00 7f 02 6c | 03 3b af 68 58 10 00 00 |.;.V...l|.;.hX...|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|00001850| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00001860| 00 00 00 46 01 a3 eb 60 | 2c ce 00 00 00 1c 00 46 |...F...`|,......F|
|00001870| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00001880| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00001890| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+